﻿namespace Farming.ConsoleDemo
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string[] names = new string[] { "张三", "李四" };

            string n = GetNames("张三","李四","王五");

            Console.WriteLine(n);

            Console.ReadLine();
        }

        static string GetNames(params string[] names)
        {
            return string.Join(",", names);
        }
    }
}
